home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2304 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  934 b 

  1. Path: serra.unipi.it!news
  2. From: Giuseppe BEVILACQUA <giuseppe>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: How to read IBM parallel port?
  5. Date: 20 Jan 1996 09:28:27 GMT
  6. Organization: Universita' di Pisa
  7. Message-ID: <4dqcjr$2hoo@serra.unipi.it>
  8. References: <dmanzer-1501961634230001@pm030.vcr.wis.net>
  9. NNTP-Posting-Host: r6000sm2.difi.unipi.it
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (X11; I; AIX 2)
  14. X-URL: news:dmanzer-1501961634230001@pm030.vcr.wis.net
  15.  
  16. If you know the symbolic address of the port you want read, just use the 
  17. function:
  18.  
  19. inport( N );
  20.  
  21. where N is the address in hexadecimal notation. 
  22. I haven't here my manual and I don't remember the exact syntax of this
  23. function,
  24. so the best you can do is search it in your manual.
  25. I'll send a new message when I'll see the exact syntax.
  26.  
  27.                         Matteo Dell'Omodarme
  28.                     http://fisica.difi.unipi.it/~df143193/
  29.  
  30.